package com.jingzhun.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * t_dishwasher_user
 * @author 
 */
public class TDishwasherUser implements Serializable {
    /**
     * 用户表
     */
    private Integer id;

    /**
     * 会员姓名
     */
    private String userName;

    /**
     * 微信头像
     */
    private String userWxImg;

    /**
     * 微信昵称
     */
    private String userWxName;

    /**
     * 总积分
     */
    private BigDecimal userTotalScore;

    /**
     * 可用积分
     */
    private BigDecimal userCurrentScore;

    /**
     * 消费积分
     */
    private BigDecimal userConsumeScore;

    /**
     * 用户父id
     */
    private Integer userPid;

    /**
     * userVipId
     */
    private Integer userVipId;

    /**
     * 关注日期
     */
    private Date userDate;

    /**
     * userType
     */
    private String userType;

    /**
     * userPassword
     */
    private String userPassword;

    /**
     * state
     */
    private String userDeleteState;

    /**
     * openid
     */
    private String userWxOpenid;

    /**
     * 真实姓名
     */
    private String userWxNameReal;

    /**
     * 用户手机号
     */
    private String userMobile;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserWxImg() {
        return userWxImg;
    }

    public void setUserWxImg(String userWxImg) {
        this.userWxImg = userWxImg;
    }

    public String getUserWxName() {
        return userWxName;
    }

    public void setUserWxName(String userWxName) {
        this.userWxName = userWxName;
    }

    public BigDecimal getUserTotalScore() {
        return userTotalScore;
    }

    public void setUserTotalScore(BigDecimal userTotalScore) {
        this.userTotalScore = userTotalScore;
    }

    public BigDecimal getUserCurrentScore() {
        return userCurrentScore;
    }

    public void setUserCurrentScore(BigDecimal userCurrentScore) {
        this.userCurrentScore = userCurrentScore;
    }

    public BigDecimal getUserConsumeScore() {
        return userConsumeScore;
    }

    public void setUserConsumeScore(BigDecimal userConsumeScore) {
        this.userConsumeScore = userConsumeScore;
    }

    public Integer getUserPid() {
        return userPid;
    }

    public void setUserPid(Integer userPid) {
        this.userPid = userPid;
    }

    public Integer getUserVipId() {
        return userVipId;
    }

    public void setUserVipId(Integer userVipId) {
        this.userVipId = userVipId;
    }

    public Date getUserDate() {
        return userDate;
    }

    public void setUserDate(Date userDate) {
        this.userDate = userDate;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserDeleteState() {
        return userDeleteState;
    }

    public void setUserDeleteState(String userDeleteState) {
        this.userDeleteState = userDeleteState;
    }

    public String getUserWxOpenid() {
        return userWxOpenid;
    }

    public void setUserWxOpenid(String userWxOpenid) {
        this.userWxOpenid = userWxOpenid;
    }

    public String getUserWxNameReal() {
        return userWxNameReal;
    }

    public void setUserWxNameReal(String userWxNameReal) {
        this.userWxNameReal = userWxNameReal;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TDishwasherUser other = (TDishwasherUser) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
            && (this.getUserWxImg() == null ? other.getUserWxImg() == null : this.getUserWxImg().equals(other.getUserWxImg()))
            && (this.getUserWxName() == null ? other.getUserWxName() == null : this.getUserWxName().equals(other.getUserWxName()))
            && (this.getUserTotalScore() == null ? other.getUserTotalScore() == null : this.getUserTotalScore().equals(other.getUserTotalScore()))
            && (this.getUserCurrentScore() == null ? other.getUserCurrentScore() == null : this.getUserCurrentScore().equals(other.getUserCurrentScore()))
            && (this.getUserConsumeScore() == null ? other.getUserConsumeScore() == null : this.getUserConsumeScore().equals(other.getUserConsumeScore()))
            && (this.getUserPid() == null ? other.getUserPid() == null : this.getUserPid().equals(other.getUserPid()))
            && (this.getUserVipId() == null ? other.getUserVipId() == null : this.getUserVipId().equals(other.getUserVipId()))
            && (this.getUserDate() == null ? other.getUserDate() == null : this.getUserDate().equals(other.getUserDate()))
            && (this.getUserType() == null ? other.getUserType() == null : this.getUserType().equals(other.getUserType()))
            && (this.getUserPassword() == null ? other.getUserPassword() == null : this.getUserPassword().equals(other.getUserPassword()))
            && (this.getUserDeleteState() == null ? other.getUserDeleteState() == null : this.getUserDeleteState().equals(other.getUserDeleteState()))
            && (this.getUserWxOpenid() == null ? other.getUserWxOpenid() == null : this.getUserWxOpenid().equals(other.getUserWxOpenid()))
            && (this.getUserWxNameReal() == null ? other.getUserWxNameReal() == null : this.getUserWxNameReal().equals(other.getUserWxNameReal()))
            && (this.getUserMobile() == null ? other.getUserMobile() == null : this.getUserMobile().equals(other.getUserMobile()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
        result = prime * result + ((getUserWxImg() == null) ? 0 : getUserWxImg().hashCode());
        result = prime * result + ((getUserWxName() == null) ? 0 : getUserWxName().hashCode());
        result = prime * result + ((getUserTotalScore() == null) ? 0 : getUserTotalScore().hashCode());
        result = prime * result + ((getUserCurrentScore() == null) ? 0 : getUserCurrentScore().hashCode());
        result = prime * result + ((getUserConsumeScore() == null) ? 0 : getUserConsumeScore().hashCode());
        result = prime * result + ((getUserPid() == null) ? 0 : getUserPid().hashCode());
        result = prime * result + ((getUserVipId() == null) ? 0 : getUserVipId().hashCode());
        result = prime * result + ((getUserDate() == null) ? 0 : getUserDate().hashCode());
        result = prime * result + ((getUserType() == null) ? 0 : getUserType().hashCode());
        result = prime * result + ((getUserPassword() == null) ? 0 : getUserPassword().hashCode());
        result = prime * result + ((getUserDeleteState() == null) ? 0 : getUserDeleteState().hashCode());
        result = prime * result + ((getUserWxOpenid() == null) ? 0 : getUserWxOpenid().hashCode());
        result = prime * result + ((getUserWxNameReal() == null) ? 0 : getUserWxNameReal().hashCode());
        result = prime * result + ((getUserMobile() == null) ? 0 : getUserMobile().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userName=").append(userName);
        sb.append(", userWxImg=").append(userWxImg);
        sb.append(", userWxName=").append(userWxName);
        sb.append(", userTotalScore=").append(userTotalScore);
        sb.append(", userCurrentScore=").append(userCurrentScore);
        sb.append(", userConsumeScore=").append(userConsumeScore);
        sb.append(", userPid=").append(userPid);
        sb.append(", userVipId=").append(userVipId);
        sb.append(", userDate=").append(userDate);
        sb.append(", userType=").append(userType);
        sb.append(", userPassword=").append(userPassword);
        sb.append(", userDeleteState=").append(userDeleteState);
        sb.append(", userWxOpenid=").append(userWxOpenid);
        sb.append(", userWxNameReal=").append(userWxNameReal);
        sb.append(", userMobile=").append(userMobile);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}